/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package enumisomorph;

/**
 *
 * @author Libra
 */
public class EnumIsomorph {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Pattern[] p = new Pattern[729];
        Group.fillAll();
        for (int i = 0; i < 729; i++) {
            p[i] = new Pattern(Group.listSlot(i));
        }


        boolean[] notFirstTime = new boolean[729];
        for (int i = 0; i < 729; i++) {
            int j = 0;
            while (j < i) {
                if (p[j].isoEqual(p[i].value())) {
                    notFirstTime[i] = true;
                    break;
                }
                j++;
            }
        }
        for(int i=0;i<729;i++){
            if(!notFirstTime[i]){
                p[i].show();
            }
        }
        
    }
}
